#include"Queue.h"

int main()
{
    Queue q;
    queueInit(&q);
    int arr[]= {1,2,3,4,5,6,7,8,9,10};
    for (int i = 0; i < sizeof(arr)/sizeof(int); i++)
    {
        enQueue(&q, arr[i]);//enqueue
    }

    printf("QueueSize: %d\n", QueueSize(&q));

    while(!queueEmpty(&q)){
        printf("%d ",QueueFront(&q));//get front element
        deQueue(&q);//dequeue
    }
    queueDestroy(&q);//destroy queue
    return 0;
}